@mixin mt($big,$small){
    margin-top: (($big - $small)/2);
}
@mixin wh($width,$height){
    width:$width;
    height: $height;
}
.header {
    z-index: 999;
    background-color: #fff;
    position: sticky;
    top: 0;
}
.title {
    ul {
        li {
            float: left;
            &:nth-child(1) a {
                margin-left: 0;
            }
            a{
                position: relative;
                display: block;
                font-size: 12px;
                font-family: cartierFont;
                color: #000;
                margin: 24px 0 0  20px;
                &::after {
                    content: '';
                    width: 0px;
                    height: 1px;
                    display: block;
                    background-color: #000;
                    position: absolute;
                    top: 20px;
                    left: 0;
                    transition: all 0.3s linear;
                }
                &:hover {
                    &::after {
                        width: 100%;
                    }
                }
            }
        }
    }
    >a {
        margin: 20px 400px 0 300px;
    }
    .tubiao {
        @include wh(120px,40px);
        margin-top: 10px;
        display: grid;
        grid-template-columns: repeat(3,1fr);
        grid-template-rows: repeat(1,1fr);
        place-items: center;
    }
}
.top-nav {
    border-bottom: 1px solid #d6d1d1;
    ul {
        @include wh (605px,68px);
        margin: 0 auto;
        li {
            float: left;
            margin: 20px 16px;
            a {
                position: relative;
                display: block;
                height: 20px;
                font-size: 14px;
                line-height: 20px;
                &::after {
                    content: '';
                    width: 0px;
                    height: 2px;
                    display: block;
                    background-color: red;
                    position: absolute;
                    top: 22px;
                    left: 0;
                    transition: all 0.3s linear;
                }
            }
            &:nth-child(9) {
                margin-left: 0;
                border-left: 1px solid #000;
                &:hover {
                    a::after {
                        width: 0;
                    }
                }
            }
            &:hover {
                a {
                    font-weight: 700;
                    &::after {
                        width: 100%;
                    }
                }
            }
        }
    }
}
.contact {
    display: block;
    margin-top: 550px;
    font-size: 12px;
    background-color: #f5f5f5;
    ul {
        height: 200px;
        display: grid;
        grid-template-columns: repeat(4,1fr);
        place-items: center;
        li {
            position: relative;
            width: 200px;
            img {
                margin: 0 82px 10px 83px;
            }
            >div {
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
                &::after {
                    content: '';
                    width: 0px;
                    height: 1px;
                    background-color: #000;
                    position: absolute;
                    top: 16px;
                    left: 0;
                    transition: all 0.3s;
                }
            }
            &:hover>div::after {
                width: 100%;
            }
        }
    }
}
.foot-top {
    overflow: hidden;
    height: 250px;
    border-bottom: 1px solid #c4bfbf;
    li {
        width: 300px!important;
        margin: 80px auto;
        box-sizing: border-box;
        h5 {
            text-align: center;
            padding-bottom: 30px;
            font-size: 14px;
        }
        input {
            @include wh (200px,28px);
            border-bottom: 1px solid #000;
        }
        button {
            @include wh (80px,30px);
            color: #fff;
            background-color: #000;
            border: 1px solid #000;
            transition: all 0.3s;
            &:hover {
                background-color: #fff;
                color: #000;
            }
        }
    }
}
.foot-middle {
    padding: 50px 0;
    height: 350px;
    border-bottom: 1px solid #c4bfbf;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    justify-items: center;
    ul {
        li {
            line-height: 40px;
            a {
                position: relative;
                font-size: 12px;
                &::after {
                    content: '';
                    width: 0px;
                    height: 1px;
                    background-color: #000;
                    position: absolute;
                    bottom: -5px;
                    left: 0px;
                    transition: all 0.3s;
                }
                &:hover::after {
                    width: 100%;
                }
            }
            .weixin {
                @include wh (35px,35px);
                margin: 30px 30px 0 0;
            }
            .weibo {
                @include wh (35px,35px);
                margin: 30px 30px 0 0;
            }
        }
        >h6 {
            font-size: 14px;
        }
    }
}
.foot-bottom {
    .foot-bottom-t {
        @include wh (460px,50px);
        margin: 40px auto;
        >div {
            float: left;
            >img {
                @include wh (120px,35px);
            }
            &:nth-child(2) {
                margin: 0 50px;
            }
        }
    }
    .foot-bottom-b {
        height: 60px;
        background-color: rgb(209, 14, 46);
    }
}
.relation {
    position: fixed;
    bottom: 30px;
    right: 30px;
}
.jiantou-top {
    @include wh (50px,50px);
    border: 1px solid #c4bfbf;
    border-radius: 50%;
    position: fixed;
    bottom: 150px;
    right: 30px;
    >img {
        position: absolute;
        bottom: 21px;
        right: 17px;
    }
}
.feedback {
    @include wh (80px,30px);
    background-color: #c4bfbf;
    color: #fff;
    transform: rotate3d(0, 0, 1, 90deg);
    position: fixed;
    right: -28px;
    top: 300px;
    border-radius: 5px;
    border: 0;
}

